package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingCouponBagExample;
import com.xingkeduo.model.po.TMarketingCouponBag;
import com.xingkeduo.model.po.TMarketingCouponBagWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingCouponBagMapper {
    int countByExample(TMarketingCouponBagExample example);

    int deleteByExample(TMarketingCouponBagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingCouponBagWithBLOBs record);

    int insertSelective(TMarketingCouponBagWithBLOBs record);

    List<TMarketingCouponBagWithBLOBs> selectByExampleWithBLOBs(TMarketingCouponBagExample example);

    List<TMarketingCouponBag> selectByExample(TMarketingCouponBagExample example);

    TMarketingCouponBagWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingCouponBagWithBLOBs record, @Param("example") TMarketingCouponBagExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingCouponBagWithBLOBs record, @Param("example") TMarketingCouponBagExample example);

    int updateByExample(@Param("record") TMarketingCouponBag record, @Param("example") TMarketingCouponBagExample example);

    int updateByPrimaryKeySelective(TMarketingCouponBagWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TMarketingCouponBagWithBLOBs record);

    int updateByPrimaryKey(TMarketingCouponBag record);
}